<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>提醒信息修改</title>
<jsp:include page="/common/header-common.jsp"></jsp:include>
<script type="text/javascript">
	function confirmSubmit(){
		var content = document.all("tip.content").value;
		if(content == "" ) {
			alert("提醒信息不能为空");
			return false;
		}
		document.forms[0].submit();
	}
</script>
</head>
<body>
<jsp:include page="header.jsp" />
<jsp:include page="menu.html" />
<s:form action="/admin/tipadd.action" theme="simple">
<div class="content">
	<div class="pagetitle">>>提醒信息修改</div>
	<div id="btn_left">
	<ul>
		<li><a href="#" onclick="javascript:confirmSubmit();"><span><img src="../images/bt_submit.gif"  align='absmiddle'/></span></a></li>
	</ul>
	</div>
	<s:if test="message != null">
		<div class="return_tip">
			<s:property value="message" />
		</div>
	</s:if>
	<table class="tablecolor2" width="100%" align="center">
		<s:hidden name="tip.id"></s:hidden>
		<tr align="left">
			<td align="right" width="15%">提醒类型:</td>
			<td align="left"><s:textfield name="tip.type" readonly="true"/></td>
		</tr>
		<tr align="left">
			<td align="right" width="15%">创建时间:</td>
			<td align="left"><s:textfield name="tip.createTime" readonly="true" /></td>
		</tr>
		<tr>
			<td colspan="2">
			$_用户名 = 当前用户名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				&nbsp;&nbsp;&nbsp;$_车号 = 当前即将到期的车辆号码	<br />
				$_失效日期 = 当前即将到期的失效日期&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$_当前日期 = 当前服务器日期
			</td>
		</tr>
		<tr align="left">
			<td align="right" width="15%">提醒内容:</td>
			<td align="left"><s:textarea name="tip.content" cols="50" rows="10" /></td>
		</tr>
	</table>
</div>
</s:form>
<jsp:include page="../common/footer.jsp" />
</body>
</html>